<ion-content>
  <div class="cover-header">
    <h1>个人设置</h1>
  </div>
  <ion-list>
    <ion-item class="line" (click)="toModify()">
      <h3>{{currentUser.user.name}}</h3>
      <p>用户名:{{currentUser.user.username}}</p>
    </ion-item>
    <ion-item-divider class="line" color="light"></ion-item-divider>
    <ion-item class="text-center line" (click)="toChat()">聊天室</ion-item>
    <ion-item-divider class="line" color="light"></ion-item-divider>
    <ion-item class="text-center line" (click)="toModifyPwd()">修改密码</ion-item>
    <ion-item-divider class="line" color="light"></ion-item-divider>
    <ion-item class="text-center" (click)="logout()">退出登录</ion-item>
  </ion-list>
</ion-content>